#include<stdio.h>
void main()
{
	int n;
	float fac=1,sum=0;
	for(n=1;n<=20;n++)
	{
		fac=fac*2;
		if(n%2!=0)
		sum=sum+fac;
	}
	printf("sum=%e",sum);
}
